package system.model;

import system.common.Constants;
import system.util.StringUtil;

/**
 * <pre>
 * Class : system.model.DB6_RedcastleDto / DB6_RedcastleDto.java
 * 	Define Class Object : 
 * <br>
 * </pre>
 * @author hwanLee / apexcns,Inc.
 * @version 1.1
 * @see javadoc
 * @since 2012. 9. 10.
 */
public class DB6_RedcastleDto { 
	private String recid;
	private String agentid;
	private String logclass;
	private String createtime;
	private String eventtime;
	private String logtype;
	private String username;
	private String terminal;
	private String hostname;
	private String newtime;
	private String collecttime;
	private String revisetime;
	private String dn;
	private String sendtype;
	private String pid;
	private String address;
	private String logouttime;
	private String is_first;
	private String r_ses_key;
	private String servername;
	
	private String session_key;
	private String ftpd_name;
	private String client_ip;
	private String client_name;
	private String log_class;
	private String log_level;
	private String log_detail;
	
	private String ruser;
	private String euser;
	private String hostip;
	private String sid;
	private String tty_maj;
	private String tty_min;
	private String ppid;
	private String ruid;
	private String euid;
	private String parent_cmd;
	private String cmd_path;
	private String cmd_args;
	private String newssflg;
	private String Tty_name;
	private String Mac_addr;
	private String Persion_id;

	/** <pre>
	 * Method : DB6_RedcastleDto.getRecid()
	 * 	to get recid
	 * <br> 
	 * @return the recid : type of String
	 * </pre>
	 */
	public String getRecid() {
		return recid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setRecid()
	 * 	to set recid
	 * <br> 
	 * @return the recid : type of String
	 * </pre>
	 */
	public void setRecid(String recid) {
		this.recid = recid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getAgentid()
	 * 	to get agentid
	 * <br> 
	 * @return the agentid : type of String
	 * </pre>
	 */
	public String getAgentid() {
		return agentid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setAgentid()
	 * 	to set agentid
	 * <br> 
	 * @return the agentid : type of String
	 * </pre>
	 */
	public void setAgentid(String agentid) {
		this.agentid = agentid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getLogclass()
	 * 	to get logclass
	 * <br> 
	 * @return the logclass : type of String
	 * </pre>
	 */
	public String getLogclass() {
		return logclass;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setLogclass()
	 * 	to set logclass
	 * <br> 
	 * @return the logclass : type of String
	 * </pre>
	 */
	public void setLogclass(String logclass) {
		this.logclass = logclass;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getCreatetime()
	 * 	to get createtime
	 * <br> 
	 * @return the createtime : type of String
	 * </pre>
	 */
	public String getCreatetime() {
		return createtime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setCreatetime()
	 * 	to set createtime
	 * <br> 
	 * @return the createtime : type of String
	 * </pre>
	 */
	public void setCreatetime(String createtime) {
		this.createtime = createtime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getEventtime()
	 * 	to get eventtime
	 * <br> 
	 * @return the eventtime : type of String
	 * </pre>
	 */
	public String getEventtime() {
		return eventtime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setEventtime()
	 * 	to set eventtime
	 * <br> 
	 * @return the eventtime : type of String
	 * </pre>
	 */
	public void setEventtime(String eventtime) {
		this.eventtime = eventtime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getLogtype()
	 * 	to get logtype
	 * <br> 
	 * @return the logtype : type of String
	 * </pre>
	 */
	public String getLogtype() {
		return logtype;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setLogtype()
	 * 	to set logtype
	 * <br> 
	 * @return the logtype : type of String
	 * </pre>
	 */
	public void setLogtype(String logtype) {
		this.logtype = logtype;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getUsername()
	 * 	to get username
	 * <br> 
	 * @return the username : type of String
	 * </pre>
	 */
	public String getUsername() {
		return username;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setUsername()
	 * 	to set username
	 * <br> 
	 * @return the username : type of String
	 * </pre>
	 */
	public void setUsername(String username) {
		this.username = username;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getTerminal()
	 * 	to get terminal
	 * <br> 
	 * @return the terminal : type of String
	 * </pre>
	 */
	public String getTerminal() {
		return terminal;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setTerminal()
	 * 	to set terminal
	 * <br> 
	 * @return the terminal : type of String
	 * </pre>
	 */
	public void setTerminal(String terminal) {
		this.terminal = terminal;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getHostname()
	 * 	to get hostname
	 * <br> 
	 * @return the hostname : type of String
	 * </pre>
	 */
	public String getHostname() {
		return hostname;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setHostname()
	 * 	to set hostname
	 * <br> 
	 * @return the hostname : type of String
	 * </pre>
	 */
	public void setHostname(String hostname) {
		this.hostname = hostname;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getNewtime()
	 * 	to get newtime
	 * <br> 
	 * @return the newtime : type of String
	 * </pre>
	 */
	public String getNewtime() {
		return newtime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setNewtime()
	 * 	to set newtime
	 * <br> 
	 * @return the newtime : type of String
	 * </pre>
	 */
	public void setNewtime(String newtime) {
		this.newtime = newtime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getCollecttime()
	 * 	to get collecttime
	 * <br> 
	 * @return the collecttime : type of String
	 * </pre>
	 */
	public String getCollecttime() {
		return collecttime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setCollecttime()
	 * 	to set collecttime
	 * <br> 
	 * @return the collecttime : type of String
	 * </pre>
	 */
	public void setCollecttime(String collecttime) {
		this.collecttime = collecttime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getRevisetime()
	 * 	to get revisetime
	 * <br> 
	 * @return the revisetime : type of String
	 * </pre>
	 */
	public String getRevisetime() {
		return revisetime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setRevisetime()
	 * 	to set revisetime
	 * <br> 
	 * @return the revisetime : type of String
	 * </pre>
	 */
	public void setRevisetime(String revisetime) {
		this.revisetime = revisetime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getDn()
	 * 	to get dn
	 * <br> 
	 * @return the dn : type of String
	 * </pre>
	 */
	public String getDn() {
		return dn;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setDn()
	 * 	to set dn
	 * <br> 
	 * @return the dn : type of String
	 * </pre>
	 */
	public void setDn(String dn) {
		this.dn = dn;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getSendtype()
	 * 	to get sendtype
	 * <br> 
	 * @return the sendtype : type of String
	 * </pre>
	 */
	public String getSendtype() {
		return sendtype;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setSendtype()
	 * 	to set sendtype
	 * <br> 
	 * @return the sendtype : type of String
	 * </pre>
	 */
	public void setSendtype(String sendtype) {
		this.sendtype = sendtype;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getPid()
	 * 	to get pid
	 * <br> 
	 * @return the pid : type of String
	 * </pre>
	 */
	public String getPid() {
		return pid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setPid()
	 * 	to set pid
	 * <br> 
	 * @return the pid : type of String
	 * </pre>
	 */
	public void setPid(String pid) {
		this.pid = pid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getAddress()
	 * 	to get address
	 * <br> 
	 * @return the address : type of String
	 * </pre>
	 */
	public String getAddress() {
		return address;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setAddress()
	 * 	to set address
	 * <br> 
	 * @return the address : type of String
	 * </pre>
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getLogouttime()
	 * 	to get logouttime
	 * <br> 
	 * @return the logouttime : type of String
	 * </pre>
	 */
	public String getLogouttime() {
		return logouttime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setLogouttime()
	 * 	to set logouttime
	 * <br> 
	 * @return the logouttime : type of String
	 * </pre>
	 */
	public void setLogouttime(String logouttime) {
		this.logouttime = logouttime;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getIs_first()
	 * 	to get is_first
	 * <br> 
	 * @return the is_first : type of String
	 * </pre>
	 */
	public String getIs_first() {
		return is_first;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setIs_first()
	 * 	to set is_first
	 * <br> 
	 * @return the is_first : type of String
	 * </pre>
	 */
	public void setIs_first(String is_first) {
		this.is_first = is_first;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getR_ses_key()
	 * 	to get r_ses_key
	 * <br> 
	 * @return the r_ses_key : type of String
	 * </pre>
	 */
	public String getR_ses_key() {
		return r_ses_key;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setR_ses_key()
	 * 	to set r_ses_key
	 * <br> 
	 * @return the r_ses_key : type of String
	 * </pre>
	 */
	public void setR_ses_key(String r_ses_key) {
		this.r_ses_key = r_ses_key;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getServername()
	 * 	to get servername
	 * <br> 
	 * @return the servername : type of String
	 * </pre>
	 */
	public String getServername() {
		return servername;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setServername()
	 * 	to set servername
	 * <br> 
	 * @return the servername : type of String
	 * </pre>
	 */
	public void setServername(String servername) {
		this.servername = servername;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getSession_key()
	 * 	to get session_key
	 * <br> 
	 * @return the session_key : type of String
	 * </pre>
	 */
	public String getSession_key() {
		return session_key;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setSession_key()
	 * 	to set session_key
	 * <br> 
	 * @return the session_key : type of String
	 * </pre>
	 */
	public void setSession_key(String session_key) {
		this.session_key = session_key;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getFtpd_name()
	 * 	to get ftpd_name
	 * <br> 
	 * @return the ftpd_name : type of String
	 * </pre>
	 */
	public String getFtpd_name() {
		return ftpd_name;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setFtpd_name()
	 * 	to set ftpd_name
	 * <br> 
	 * @return the ftpd_name : type of String
	 * </pre>
	 */
	public void setFtpd_name(String ftpd_name) {
		this.ftpd_name = ftpd_name;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getClient_ip()
	 * 	to get client_ip
	 * <br> 
	 * @return the client_ip : type of String
	 * </pre>
	 */
	public String getClient_ip() {
		return client_ip;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setClient_ip()
	 * 	to set client_ip
	 * <br> 
	 * @return the client_ip : type of String
	 * </pre>
	 */
	public void setClient_ip(String client_ip) {
		this.client_ip = client_ip;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getClient_name()
	 * 	to get client_name
	 * <br> 
	 * @return the client_name : type of String
	 * </pre>
	 */
	public String getClient_name() {
		return client_name;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setClient_name()
	 * 	to set client_name
	 * <br> 
	 * @return the client_name : type of String
	 * </pre>
	 */
	public void setClient_name(String client_name) {
		this.client_name = client_name;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getLog_class()
	 * 	to get log_class
	 * <br> 
	 * @return the log_class : type of String
	 * </pre>
	 */
	public String getLog_class() {
		return log_class;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setLog_class()
	 * 	to set log_class
	 * <br> 
	 * @return the log_class : type of String
	 * </pre>
	 */
	public void setLog_class(String log_class) {
		this.log_class = log_class;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getLog_level()
	 * 	to get log_level
	 * <br> 
	 * @return the log_level : type of String
	 * </pre>
	 */
	public String getLog_level() {
		return log_level;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setLog_level()
	 * 	to set log_level
	 * <br> 
	 * @return the log_level : type of String
	 * </pre>
	 */
	public void setLog_level(String log_level) {
		this.log_level = log_level;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getLog_detail()
	 * 	to get log_detail
	 * <br> 
	 * @return the log_detail : type of String
	 * </pre>
	 */
	public String getLog_detail() {
		return log_detail;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setLog_detail()
	 * 	to set log_detail
	 * <br> 
	 * @return the log_detail : type of String
	 * </pre>
	 */
	public void setLog_detail(String log_detail) {
		this.log_detail = log_detail;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getRuser()
	 * 	to get ruser
	 * <br> 
	 * @return the ruser : type of String
	 * </pre>
	 */
	public String getRuser() {
		return ruser;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setRuser()
	 * 	to set ruser
	 * <br> 
	 * @return the ruser : type of String
	 * </pre>
	 */
	public void setRuser(String ruser) {
		this.ruser = ruser;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getEuser()
	 * 	to get euser
	 * <br> 
	 * @return the euser : type of String
	 * </pre>
	 */
	public String getEuser() {
		return euser;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setEuser()
	 * 	to set euser
	 * <br> 
	 * @return the euser : type of String
	 * </pre>
	 */
	public void setEuser(String euser) {
		this.euser = euser;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getHostip()
	 * 	to get hostip
	 * <br> 
	 * @return the hostip : type of String
	 * </pre>
	 */
	public String getHostip() {
		return hostip;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setHostip()
	 * 	to set hostip
	 * <br> 
	 * @return the hostip : type of String
	 * </pre>
	 */
	public void setHostip(String hostip) {
		this.hostip = hostip;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getSid()
	 * 	to get sid
	 * <br> 
	 * @return the sid : type of String
	 * </pre>
	 */
	public String getSid() {
		return sid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setSid()
	 * 	to set sid
	 * <br> 
	 * @return the sid : type of String
	 * </pre>
	 */
	public void setSid(String sid) {
		this.sid = sid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getTty_maj()
	 * 	to get tty_maj
	 * <br> 
	 * @return the tty_maj : type of String
	 * </pre>
	 */
	public String getTty_maj() {
		return tty_maj;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setTty_maj()
	 * 	to set tty_maj
	 * <br> 
	 * @return the tty_maj : type of String
	 * </pre>
	 */
	public void setTty_maj(String tty_maj) {
		this.tty_maj = tty_maj;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getTty_min()
	 * 	to get tty_min
	 * <br> 
	 * @return the tty_min : type of String
	 * </pre>
	 */
	public String getTty_min() {
		return tty_min;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setTty_min()
	 * 	to set tty_min
	 * <br> 
	 * @return the tty_min : type of String
	 * </pre>
	 */
	public void setTty_min(String tty_min) {
		this.tty_min = tty_min;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getPpid()
	 * 	to get ppid
	 * <br> 
	 * @return the ppid : type of String
	 * </pre>
	 */
	public String getPpid() {
		return ppid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setPpid()
	 * 	to set ppid
	 * <br> 
	 * @return the ppid : type of String
	 * </pre>
	 */
	public void setPpid(String ppid) {
		this.ppid = ppid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getRuid()
	 * 	to get ruid
	 * <br> 
	 * @return the ruid : type of String
	 * </pre>
	 */
	public String getRuid() {
		return ruid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setRuid()
	 * 	to set ruid
	 * <br> 
	 * @return the ruid : type of String
	 * </pre>
	 */
	public void setRuid(String ruid) {
		this.ruid = ruid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getEuid()
	 * 	to get euid
	 * <br> 
	 * @return the euid : type of String
	 * </pre>
	 */
	public String getEuid() {
		return euid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setEuid()
	 * 	to set euid
	 * <br> 
	 * @return the euid : type of String
	 * </pre>
	 */
	public void setEuid(String euid) {
		this.euid = euid;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getParent_cmd()
	 * 	to get parent_cmd
	 * <br> 
	 * @return the parent_cmd : type of String
	 * </pre>
	 */
	public String getParent_cmd() {
		return parent_cmd;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setParent_cmd()
	 * 	to set parent_cmd
	 * <br> 
	 * @return the parent_cmd : type of String
	 * </pre>
	 */
	public void setParent_cmd(String parent_cmd) {
		this.parent_cmd = parent_cmd;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getCmd_path()
	 * 	to get cmd_path
	 * <br> 
	 * @return the cmd_path : type of String
	 * </pre>
	 */
	public String getCmd_path() {
		return cmd_path;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setCmd_path()
	 * 	to set cmd_path
	 * <br> 
	 * @return the cmd_path : type of String
	 * </pre>
	 */
	public void setCmd_path(String cmd_path) {
		this.cmd_path = cmd_path;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getCmd_args()
	 * 	to get cmd_args
	 * <br> 
	 * @return the cmd_args : type of String
	 * </pre>
	 */
	public String getCmd_args() {
		return cmd_args;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setCmd_args()
	 * 	to set cmd_args
	 * <br> 
	 * @return the cmd_args : type of String
	 * </pre>
	 */
	public void setCmd_args(String cmd_args) {
		this.cmd_args = cmd_args;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getNewssflg()
	 * 	to get newssflg
	 * <br> 
	 * @return the newssflg : type of String
	 * </pre>
	 */
	public String getNewssflg() {
		return newssflg;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setNewssflg()
	 * 	to set newssflg
	 * <br> 
	 * @return the newssflg : type of String
	 * </pre>
	 */
	public void setNewssflg(String newssflg) {
		this.newssflg = newssflg;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getTty_name()
	 * 	to get tty_name
	 * <br> 
	 * @return the tty_name : type of String
	 * </pre>
	 */
	public String getTty_name() {
		return Tty_name;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setTty_name()
	 * 	to set tty_name
	 * <br> 
	 * @return the tty_name : type of String
	 * </pre>
	 */
	public void setTty_name(String tty_name) {
		this.Tty_name = tty_name;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getMac_addr()
	 * 	to get mac_addr
	 * <br> 
	 * @return the mac_addr : type of String
	 * </pre>
	 */
	public String getMac_addr() {
		return Mac_addr;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setMac_addr()
	 * 	to set mac_addr
	 * <br> 
	 * @return the mac_addr : type of String
	 * </pre>
	 */
	public void setMac_addr(String mac_addr) {
		this.Mac_addr = mac_addr;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.getPersion_id()
	 * 	to get persion_id
	 * <br> 
	 * @return the persion_id : type of String
	 * </pre>
	 */
	public String getPersion_id() {
		return Persion_id;
	}

	/** <pre>
	 * Method : DB6_RedcastleDto.setPersion_id()
	 * 	to set persion_id
	 * <br> 
	 * @return the persion_id : type of String
	 * </pre>
	 */
	public void setPersion_id(String persion_id) {
		this.Persion_id = persion_id;
	}

	public String toStringLoginlog() {
		String delimiter = Constants.delimiter;

		String res = StringUtil.rTrim(recid) + delimiter;
		res += StringUtil.rTrim(agentid) + delimiter;
		res += StringUtil.rTrim(logclass) + delimiter;
		res += StringUtil.rTrim(createtime) + delimiter;
		res += StringUtil.rTrim(eventtime) + delimiter;
		res += StringUtil.rTrim(logtype) + delimiter;
		res += StringUtil.rTrim(username) + delimiter;
		res += StringUtil.rTrim(terminal) + delimiter;
		res += StringUtil.rTrim(hostname) + delimiter;
		res += StringUtil.rTrim(newtime) + delimiter;
		res += StringUtil.rTrim(collecttime) + delimiter;
		res += StringUtil.rTrim(revisetime) + delimiter;
		res += StringUtil.rTrim(dn) + delimiter;
		res += StringUtil.rTrim(sendtype) + delimiter;
		res += StringUtil.rTrim(pid) + delimiter;
		res += StringUtil.rTrim(address) + delimiter;
		res += StringUtil.rTrim(logouttime) + delimiter;
		res += StringUtil.rTrim(is_first) + delimiter;
		res += StringUtil.rTrim(r_ses_key) + delimiter;
		res += StringUtil.rTrim(servername) + "\n";
	    
	    return res;
	}

	public String toStringFtplog() {
	    String delimiter = Constants.delimiter;

		String res = StringUtil.rTrim(recid) + delimiter;
		res += StringUtil.rTrim(agentid) + delimiter;
		res += StringUtil.rTrim(logclass) + delimiter;
		res += StringUtil.rTrim(session_key) + delimiter;
		res += StringUtil.rTrim(eventtime) + delimiter;
		res += StringUtil.rTrim(username) + delimiter;
		res += StringUtil.rTrim(ftpd_name) + delimiter;
		res += StringUtil.rTrim(pid) + delimiter;
		res += StringUtil.rTrim(client_ip) + delimiter;
		res += StringUtil.rTrim(client_name) + delimiter;
		res += StringUtil.rTrim(log_class) + delimiter;
		res += StringUtil.rTrim(log_level) + delimiter;
		res += StringUtil.rTrim(log_detail) + delimiter;
		res += StringUtil.rTrim(collecttime) + delimiter;
		res += StringUtil.rTrim(revisetime) + delimiter;
		res += StringUtil.rTrim(dn) + delimiter;
		res += StringUtil.rTrim(sendtype) + delimiter;
		res += StringUtil.rTrim(servername) + "\n";
	    
	    return res;
	}

	public String toStringSessionlog() {
	    String delimiter = Constants.delimiter;

		String res = StringUtil.rTrim(recid) + delimiter;
		res += StringUtil.rTrim(agentid) + delimiter;
		res += StringUtil.rTrim(logclass) + delimiter;
		res += StringUtil.rTrim(session_key) + delimiter;
		res += StringUtil.rTrim(ruser) + delimiter;
		res += StringUtil.rTrim(euser) + delimiter;
		res += StringUtil.rTrim(hostip) + delimiter;
		res += StringUtil.rTrim(sid) + delimiter;
		res += StringUtil.rTrim(tty_maj) + delimiter;
		res += StringUtil.rTrim(tty_min) + delimiter;
		res += StringUtil.rTrim(pid) + delimiter;
		res += StringUtil.rTrim(ppid) + delimiter;
		res += StringUtil.rTrim(ruid) + delimiter;
		res += StringUtil.rTrim(euid) + delimiter;
		res += StringUtil.rTrim(eventtime) + delimiter;
		res += StringUtil.rTrim(parent_cmd) + delimiter;
		res += StringUtil.rTrim(cmd_path) + delimiter;
		res += StringUtil.rTrim(cmd_args) + delimiter;
		res += StringUtil.rTrim(collecttime) + delimiter;
		res += StringUtil.rTrim(revisetime) + delimiter;
		res += StringUtil.rTrim(dn) + delimiter;
		res += StringUtil.rTrim(sendtype) + delimiter;
		res += StringUtil.rTrim(newssflg) + delimiter;
		res += StringUtil.rTrim(hostname) + delimiter;
		res += StringUtil.rTrim(Tty_name) + delimiter;
		res += StringUtil.rTrim(Mac_addr) + delimiter;
		res += StringUtil.rTrim(Persion_id) + delimiter;
		res += StringUtil.rTrim(servername) + "\n";
	    
	    return res;
	}
}
